package com.xunyin.modules.mtstore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunyin.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 门店表
 * <p>
 * Created by xunyinyunshang <3594419785@qq.com>
 * CopyRight 讯音云商 https://www.tonetn.com
 */
@Data
@TableName("mt_store")
@ApiModel(value = "MtStore对象", description = "门店表")
public class MtStore extends BaseDomain {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("店铺名称")
    private String name;

    @ApiModelProperty("是否默认")
    private String isDefault;

    @ApiModelProperty("联系人姓名")
    private String contact;

    @ApiModelProperty("微信支付商户号")
    private String wxMchId;

    @ApiModelProperty("微信支付APIv2密钥")
    private String wxApiV2;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("经度")
    private String latitude;

    @ApiModelProperty("维度")
    private String longitude;

    @ApiModelProperty("距离")
    private BigDecimal distance;

    @ApiModelProperty("营业时间")
    private String hours;

    @ApiModelProperty("备注信息")
    private String description;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("状态，A：有效/启用；D：无效")
    private String status;

    @ApiModelProperty("最后操作人")
    private String operator;

    /**
     * 省id
     */
    @ApiModelProperty("省id")
    private String provinceCode;

    /**
     * 市id
     */
    @ApiModelProperty("市id")
    private String cityCode;

    /**
     * 县id
     */
    @ApiModelProperty("县id")
    private String countyCode;

    /**
     * 门店图片
     */
    @ApiModelProperty("门店图片")
    private String image;

    @ApiModelProperty("使用说明")
    private String instr;

    @ApiModelProperty("订单手续费")
    private Integer orderCharge;

    @ApiModelProperty("多少小时起订,默认1小时起订")
    private Integer startTimeNum;

    @ApiModelProperty("美团点评开放平台密钥Key")
    private String dianpingAppkey;

    @ApiModelProperty("美团点评开放平台密钥Secret")
    private String dianpingSecret;

    @ApiModelProperty("北极星团购门店Id")
    private String openShopUuid;

    @ApiModelProperty("获取美团点评的session的授权码")
    private String authCode;

    @ApiModelProperty("抖音门店POI_ID")
    private String poiId;

    @ApiModelProperty("抖音门店client_key")
    private String clientKey;

    @ApiModelProperty("抖音门店client_secret")
    private String clientSecret;

}
